<?php
/* -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
# ***** BEGIN LICENSE BLOCK *****
# This file is part of Plume CMS, a website management application.
# Copyright (C) 2001-2007 Loic d'Anterroches and contributors.
#
# Plume CMS is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# Plume CMS is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
#
# ***** END LICENSE BLOCK ***** */

/**
 * Configuration of the CMS.
 *
 * @package Configuration
 */
$cfg = array();

// For each website, you need to create a custom index.php file which
// will load a configuration file with the corresponding website_id
// set.
$cfg['website_id'] = 1;

// Set the debug variable to true to force the recompilation of all
// the templates each time during development
$cfg['debug'] = true;

// If your models are using models from applications outside of the
// base objects of the framework, you need to list them here. 
// You need to include the name of the current application.
$cfg['installed_apps'] = array('Pluf', 'CMS');

// The views of the CMS
$cfg['cms_views'] = dirname(__FILE__).'/../app-views.php';

// Secret key
$cfg['secret_key'] = '**CHANGE IT TO A LONG RANDOM STRING FOR YOUR SECURITY**';

// Address email used a sender of all the automatic emails.
$cfg['from_email'] = 'noreply@example.com';

// Temp folder for the compiled templates etc... must be writable by
// your server/php process
$cfg['tmp_folder'] = dirname(__FILE__).'/tmp';

// Datebase configuration
$cfg['db_login'] = '';
$cfg['db_password'] = '';
$cfg['db_server'] = '';
$cfg['db_database'] = $cfg['tmp_folder'].'/cms.sqlite.db';
$cfg['db_table_prefix'] = 'cm_'; 
$cfg['db_version'] = '';
$cfg['db_engine'] = 'SQLite';


return $cfg;
